package de.pipeGame;

public class Level {

	private int[] itemStacks;
	private int[] start;
	private int[] target;

	Level() {

	}

	Level(int[] is, int[] start, int[] target) {
		this.itemStacks=is;
		this.start=start;
		this.target=target;
	}

	public static int[] createLevelSet(int pipe_type_corner_nw,
			int pipe_type_corner_ne, int PIPE_TYPE_CORNER_SE,
			int PIPE_TYPE_CORNER_Sw, int PIPE_TYPE_LINE_VERTICAL,
			int PIPE_TYPE_LINE_HORIZONTAL, int PIPE_TYPE_CROSS) {
		
		return new int[] { pipe_type_corner_nw, pipe_type_corner_ne,
				PIPE_TYPE_CORNER_SE, PIPE_TYPE_CORNER_Sw,
				PIPE_TYPE_LINE_VERTICAL, PIPE_TYPE_LINE_HORIZONTAL,
				PIPE_TYPE_CROSS };
	}
	
	public static int[] createStart(int x, int y, int dir){
		return new int[]{x,y,dir};
	}
	
	public static int[] createTarget(int x, int y, int dir){
		return new int[]{x,y,dir};
	}

	public int[] getStart() {
		return start;
	}

	public int[] getItemStacks() {
		return itemStacks;
	}


	public int[] getTarget() {
		return target;
	}
}
